import request from "@/utils/requestPro.js";


// 商户查询寄售单
export function getConsignSaleApi(params) {
	return request({
		url: '/admin/appHome/consign/for/sale/business/get/order',
		method: 'get',
		params,
	});
}

// 商户--取消寄售
export function consignSaleApi(params) {
	return request({
		url: '/admin/appHome/consign/for/sale/business/cancel/order',
		method: 'put',
		params,
	});
}

// 商户--添加寄售
export function addConsignSaleApi(data) {
	return request({
		url: '/admin/appHome/consign/for/sale/business/save/order',
		method: 'post',
		data,
	});
}